package com.ruoyi.project.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 码对象 pub_codetable
 * 
 * @author ruoyi
 * @date 2019-12-23
 */
public class PubCodetable extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 码值 */
    @Excel(name = "码值")
    private String code;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    /** 父码表 */
    @Excel(name = "父码表")
    private String parentcode;

    /** ORDERID */
    @Excel(name = "ORDERID")
    private Integer orderid;

    /** 码表名称 */
    @Excel(name = "码表名称")
    private String codetable;

    /** 标志位 */
    @Excel(name = "标志位")
    private String validflag;

    public void setCode(String code) 
    {
        this.code = code;
    }

    public String getCode() 
    {
        return code;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setParentcode(String parentcode) 
    {
        this.parentcode = parentcode;
    }

    public String getParentcode() 
    {
        return parentcode;
    }
    public void setOrderid(Integer orderid) 
    {
        this.orderid = orderid;
    }

    public Integer getOrderid() 
    {
        return orderid;
    }
    public void setCodetable(String codetable) 
    {
        this.codetable = codetable;
    }

    public String getCodetable() 
    {
        return codetable;
    }
    public void setValidflag(String validflag) 
    {
        this.validflag = validflag;
    }

    public String getValidflag() 
    {
        return validflag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("code", getCode())
            .append("name", getName())
            .append("parentcode", getParentcode())
            .append("orderid", getOrderid())
            .append("codetable", getCodetable())
            .append("validflag", getValidflag())
            .toString();
    }
}
